package drds.server.config;

import drds.server.config.cluster.ClusterNode;

/**
 * @author 曹正辉<330937205@qq.com>
 */
public class Node {
	private final String name;
	private final ClusterNode clusterNode;

	public Node(ClusterNode clusterNode) {
		this.name = clusterNode.getName();
		this.clusterNode = clusterNode;
	}

	public String getName() {
		return name;
	}

	public ClusterNode getClusterNode() {
		return clusterNode;
	}

	public boolean isOnline() {
		return (true);
	}

}